package com.liumingtai.learn.shiro.module.test01.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liumingtai.learn.shiro.module.test01.entity.BlogUser;

import java.util.List;

public interface BlogUserService extends IService<BlogUser>{

    /**
     * 查询所有
     * @return
     */
    List<BlogUser> listAll(QueryWrapper queryWrapper);

    /**
     * id条件查询
     * @return
     */
    BlogUser listOne(Long id);

    /***
     * 保存
     * @param blogUser
     * @return
     */
    int insert(BlogUser blogUser);

}